package com.kotlin.tsw.usercenter.service.impl

import com.kotlin.tsw.baselibrary.ext.convert
import com.kotlin.tsw.baselibrary.rx.BaseFunc
import com.kotlin.tsw.baselibrary.rx.BaseFuncBoolean
import com.kotlin.tsw.usercenter.data.protocol.UserInfo
import com.kotlin.tsw.usercenter.data.repository.UploadRepository
import com.kotlin.tsw.usercenter.data.repository.UserRepository
import com.kotlin.tsw.usercenter.service.UploadService
import com.kotlin.tsw.usercenter.service.UserService
import rx.Observable
import javax.inject.Inject

class UploadServiceImpl @Inject constructor() : UploadService {
    @Inject
    lateinit var repository: UploadRepository
    override fun getUploadToken(): Observable<String> {
        return repository.getUploadToken().convert()
    }
}